export interface IKnowLedgeItem {
    id: string;
    parentId?: any;
    order: number;
    title: string;
    cover: string;
    summary: string;
    content?: any;
    html?: any;
    toc?: any;
    status: string;
    views: number;
    likes: number;
    isCommentable: boolean;
    publishAt: string;
    createAt: string;
    updateAt: string;
}


export interface IKnowLedgeDetailList {
    id: string;
    parentId?: any;
    order: number;
    title: string;
    cover: string;
    summary: string;
    content?: any;
    html?: any;
    toc?: any;
    status: string;
    views: number;
    likes: number;
    isCommentable: boolean;
    publishAt: string;
    createAt: string;
    updateAt: string;
    children: Child[];
}

interface Child {
    id: string;
    parentId: string;
    order: number;
    title: string;
    cover?: any;
    summary?: any;
    content: string;
    html: string;
    toc: string;
    status: string;
    views: number;
    likes: number;
    isCommentable: boolean;
    publishAt: string;
    createAt: string;
    updateAt: string;
}